import React from 'react'
import { Container } from './style'
// import './icon.css'

export default function ShoppingCartBottom2(props) {
  const {deleteGoods,isAllSelect,allSelect}=props
  console.log(deleteGoods,'ooooooo');
  return (
    <Container>
        <div className="first">
           <input type='checkbox' id='one' checked={isAllSelect} onClick={allSelect}/> 
           <label className='label' htmlFor='one'>全选</label>
        </div>
        <div className="box third">
            <div className="third1">已选:</div>
            <div className="third2">0</div>
        </div>
        <div className="box forth" onClick={deleteGoods}>删除</div>
    </Container>
  )
}